home *** CD-ROM | disk | FTP | other *** search
Null Bytes Alternating | 1995-11-10 | 2.1 KB | 31 lines |
- '++LotusScript Development Environment:2:5:(Options):0:66
-
- '++LotusScript Development Environment:2:5:(Forward):0:1
- Declare Sub Click(Source As Button, X As Long, Y As Long, Flags As Long)
-
- '++LotusScript Development Environment:2:5:(Declarations):0:2
-
- '++LotusScript Development Environment:2:2:BindEvents:1:129
- Private Sub BindEvents(Byval Objectname_ As String)
- Static Source As BUTTON
- Set Source = Bind(Objectname_)
- On Event Click From Source Call Click
- End Sub
-
- '++LotusScript Development Environment:2:2:Click:1:12
- Sub Click(Source As Button, X As Long, Y As Long, Flags As Long)
- If source.fbxDate.text <> "" Then
- If Isdate(source.fbxDate.text) Then
- GlobDateDisplay = source.fbxDate.text
- Set currentwindow.activeview = currentdocument.Schedule~ Display
- currentview.body.fbxDateDisplay.text = GlobDateDisplay
- clearDisplay
- readBlock GlobDateDisplay
- Else
- Messagebox "Date entered is not valid.", MB_OK + MB_ICONEXCLAMATION, "Invalid date"
- source.fbxDate.text = ""
- End If
- Else
- currentwindow.close
- End If
- End Sub